﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Funcionario/Funcionario.Master" AutoEventWireup="true" CodeBehind="Agendamento.aspx.cs" Inherits="Ortodoctor.Funcionario.Agendamento" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Ortodoctor - Agenda</title>
    <script src="../Scripts/fullcalendar-2.2.6/lib/moment.min.js"></script>
    <script src="../Scripts/fullcalendar-2.2.6/fullcalendar.js"></script>
    <link href="../Scripts/fullcalendar-2.2.6/fullcalendar.print.css" media="print" rel="stylesheet" />
    <link href="../Scripts/fullcalendar-2.2.6/fullcalendar.min.css" rel="stylesheet" />
    <script src="../Scripts/fullcalendar-2.2.6/lang/pt-br.js"></script>
    <script src="Agendamento.js"></script>
    <link href="Agendamento.css" rel="stylesheet" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="conteudo" runat="server">
    <div id='calendar'></div>

    <div id="clientes" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
            <div id="cadastro_cliente" class="modal-body">
                <ul class="nav nav-tabs" id="tabCadastroCliente">
                    <li><a href="#tabClientePeriodo">Agendar paciente</a></li>
                </ul>

                    <div class="tab-pane" id="tabClientePeriodo">
                        <table>
                            <tr>
                                <td>
                                    <label>Paciente:</label>
                                </td>
                                <td>
                                    <select id="pacienteSelect" runat="server" class="indexRestart pacienteSelect">
                                        <option value="-999">Todos</option>
                                        <option value="Paciente1">Paciente1</option>
                                        <option value="Paciente2">Paciente2</option>
                                        <option value="Paciente3">Paciente3</option>
                                        <option value="Paciente4">Paciente4</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label>Dentista:</label>
                                </td>
                                <td>
                                    <select id="dentistaSelect" runat="server" class="indexRestart dentistaSelect">
                                        <option value="-999">Todos</option>
                                        <option value="d1">Dentista1</option>
                                        <option value="d2">Dentista2</option>
                                        <option value="d3">Dentista3</option>
                                        <option value="d4">Dentista4</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label>Início:</label>
                                </td>
                                <td>
                                    <input type="text" id="inicio" class="horario" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label>Término:</label>
                                </td>
                                <td>
                                    <input type="text" id="termino" class="horario" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <input id="compareceu" type="checkbox" />
                                    <label style="position: absolute; display: inline-block; margin-top: 4px; margin-left: 5px" for="compareceu">Paciente compareceu?</label>
                                </td>
                            </tr>
                        </table>
                    </div>
            </div>
            
            <div class="modal-footer">
                <input type="button" class="btn" onclick="javascript: Cancelar(); return false;" value="Cancelar" />
                <input type="button" class="btn btn-primary" onclick="javascript: Confirmar(); return false;" value="Confirmar" />

                <a style="padding-top: 6px; padding-bottom: 6px; position: absolute; left: 5px;" class="btn btn-danger" id="btnCancelar" onclick="javascript: Remover(); return false">Remover</a>
            </div>
        </div>
</asp:Content>
